package org.pp.admin.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

@Setter
@Getter
public class AuthUpate {
    @Schema(description = "角色id")
    @NotNull(message = "角色id不为空")
    Long roleId;

    @Schema(description = "权限id")
    @NotEmpty(message = "权限id不为空")
    List<Long> menuIds;
}
